﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Prototype.master" AutoEventWireup="false" CodeFile="AddContest.aspx.vb" Inherits="Contests_AddContest" %>
<%@ Register Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit" tagPrefix="ajax" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<fieldset>
<legend>Contest </legend>
<ul>
        <li>
        <label for="Title">Title:</label>
        <asp:TextBox ID="txtTitle" runat="server"></asp:TextBox>
        </li>       

        <li><label for="Rules">Rules:</label>
        <asp:TextBox ID="txtRules" runat="server" TextMode="MultiLine"></asp:TextBox>
        </li>
        </ul>
        </fieldset>
        
        <fieldset>
        <legend>Contest Duration</legend>
            
            <ajax:ToolkitScriptManager runat="server">
            </ajax:ToolkitScriptManager><ul>
            <li>
            <label for="FromDate">From:</label>
            <asp:TextBox ID="txtFromDate" runat="server"/>
                <asp:ImageButton ID="imgCal1" runat="server" ImageUrl="~/pix/cal.png" /><ajax:CalendarExtender
                    ID="CalendarExtender1" runat="server" Format="dd/mm/yyyy" 
                    PopupButtonID="ImgCal1" PopupPosition="Right" TargetControlID="txtFromDate">
                </ajax:CalendarExtender>
            </li>
            <li>
            <label for="ToDate">To:</label>
            <asp:TextBox ID="txtToDate" runat="server"></asp:TextBox>
                <asp:ImageButton ID="imgCal2" runat="server" ImageUrl="~/pix/cal.png" /><ajax:CalendarExtender
                    ID="CalendarExtender2" runat="server" Format="dd/mm/yyyy"  
                    PopupButtonID="imgCal2" PopupPosition="Right" TargetControlID="txtToDate">
                </ajax:CalendarExtender>
            </li>
                <li>
            </li>
            </ul>
            </br>

        </fieldset>
        <fieldset>
        <legend>About Contest</legend>
        <ul>
        <li>
            <asp:TextBox ID="txtDetails" runat="server" Height="72px" TextMode="MultiLine" Width="394px"></asp:TextBox>
        </li>
        </ul>
        </fieldset>
        </ul>
        <li>
    <asp:Button ID="btnSubmit" runat="server" Text="Submit Contest" />
    </li>
    </ul>
</asp:Content>

